add_requires("libbpf", {version = "1.3.0", configs = {shared = false}})
add_requires("bpftool",{system = false, version = "7.3.0", configs = {bootstrap_only = true}})
add_requires("libbpf",{system = false, version = "1.3.0"})
add_requires("vmlinux-header")
add_requires("uthash")

includes("kprobe_test", "procstat")

target("bpf_common")
	set_kind("static")
	add_files("*.c")
	add_includedirs(".", {public = true})
	add_deps("kprobe_test", "procstat")
	add_packages("uthash")